﻿using Microsoft.AspNetCore.Mvc.RazorPages;
using SportsPlatform.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SportsPlatform.Query.CompetitionProjec
{
    /// <summary>
    /// 赛事项目列表传入参数
    /// </summary>
    public class GetCompetitionProjecListQuery : BasePageQuery
    {
        /// <summary>
        /// 赛事ID
        /// </summary>
        public Guid CompetitionId { get; set; }

        /// <summary>
        /// 状态 -1：全部；0：关闭；1：启用
        /// </summary>
        public int? State { get; set; }

        /// <summary>
        /// 关键字
        /// </summary>
        public string KeyWord { get; set; }
    }


    public class GetCompentitionProject
    {
        /// <summary>
        /// 赛事ID
        /// </summary>
        public Guid CompetitionId { get; set; }
    }

    /// <summary>
    /// 根据赛事ID获取当前赛事状态为正在报名到比赛结束之前的赛事项目列表传入参数
    /// 用于添加报名时根据赛事ID获取
    /// </summary>
    public class GetComProjectListByComIdQuery
    {
        /// <summary>
        /// 赛事ID
        /// </summary>
        public Guid CompetitionId { get; set; }
    }

}
